package com.taobao.api.request;

import com.taobao.api.internal.util.RequestCheckUtils;
import java.util.Map;

import com.taobao.api.ApiRuleException;
import com.taobao.api.BaseTaobaoRequest;
import com.taobao.api.internal.util.TaobaoHashMap;

import com.taobao.api.response.WirelessShareTpwdQueryResponse;

/**
 * TOP API: taobao.wireless.share.tpwd.query request
 * 
 * @author top auto create
 * @since 1.0, 2017.12.20
 */
public class WirelessShareTpwdQueryRequest extends BaseTaobaoRequest<WirelessShareTpwdQueryResponse> {
	
	

	/** 
	* 淘口令
	 */
	private String passwordContent;

	public void setPasswordContent(String passwordContent) {
		this.passwordContent = passwordContent;
	}

	public String getPasswordContent() {
		return this.passwordContent;
	}

	public String getApiMethodName() {
		return "taobao.wireless.share.tpwd.query";
	}

	public Map<String, String> getTextParams() {		
		TaobaoHashMap txtParams = new TaobaoHashMap();
		txtParams.put("password_content", this.passwordContent);
		if(this.udfParams != null) {
			txtParams.putAll(this.udfParams);
		}
		return txtParams;
	}

	public Class<WirelessShareTpwdQueryResponse> getResponseClass() {
		return WirelessShareTpwdQueryResponse.class;
	}

	public void check() throws ApiRuleException {
		RequestCheckUtils.checkNotEmpty(passwordContent, "passwordContent");
	}
	

}